class person{
	private int curFloor;
	private int tarFloor;
	public String direction;
	public person(){
		curFloor = -1;
		tarFloor = -1;
		direction = "stay";
	}
	public void setCurFloor(int value){
		this.curFloor = value;
	}
	public void setTarFloor(int value){
		this.tarFloor = value;
		if(tarFloor>curFloor) direction = "up";
		else direction = "down";
	}
	public int getCurFloor(){
		return curFloor;
	}
	public int getTarFloor(){
		return tarFloor;
	}
}